Heli Intercept When Wanted

Scramble assault Helicopters (of your choice, including DLC add-on's) when the player has a 3 stars or above wanted level. Works either while in a helicopter/plane/or on foot. 
Now supports usage of custom weapons!


Copy HeliWantedIntercept.dll and HeliWantedIntercept.ini to your GTA5 scripts folder directory.



Requirements

ScriptHookVDotNet 3 .NET Runtime 4.8
Usage

Usage:
Helicopters are scrambled automatically.
The number of Heli at each wanted level can be changed in .INI
Models of Heli scrambled and weapons used can be changed in .INI 



Adding Heli Model's:

A comma-separated list of the Heli models to be spawned. Add-on Heli model names are allowed. Models are selected randomly by Mod script. Custom weapon are also supported, provided you've formatted this setting correctly.


By default, Hunter & Akula should be supported. To enable custom Heli's & weapons, the custom model must support passenger weapons. You may be able to edit the model to do this. For example, this AH-1Z Viper does NOT support passenger weapons out of the box. You can edit the ah1z's handling file by overwriting CVehicleWeaponHandlingData like so below:

<Item type="CVehicleWeaponHandlingData">
  <uWeaponHash>
    <Item>VEHICLE_WEAPON_HUNTER_BARRAGE</Item>
    <Item>VEHICLE_WEAPON_HUNTER_MISSILE</Item>
    <Item />
    <Item>VEHICLE_WEAPON_HUNTER_MG</Item>
    <Item>VEHICLE_WEAPON_HUNTER_CANNON</Item>
  </uWeaponHash>
  <WeaponSeats content="int_array">
    0
    0
    0
    1
    1
  </WeaponSeats>



Options list -

inHeliOnly: if true, Heli's will only spawn if the player is in a helicopter.
            if false, Heli's will spawn wherever & whenever, be it on foot or Aircraft/Helicopter.

blip= if true, A Helicopter Blip icon will appear on the Map/mini Map to indicate its position.
      if false, A Helicopter Blip icon WILL NOT APPEAR on the Map/mini Map to indicate its position.


respawnTime=150, indicates how long (in seconds) till a new Heli is spawn into action. Values between 100-300 tend to be more realistically engaging & not to overwhelming.
spawnDistance=500, indicates how far apart above air from main player a Heli will be spawn. Values between 350-550 tends to appear more natural.



Created By: iLike2Teabag
Edited & Uploaded By: Nj5050